Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
Home | Book List | Contents | Index | Master Index | Feedback

# MatchPos Method

Applies To

OBlob

OClob

OBfile

Description

Returns the position of the nth occurrence of the pattern starting at the offset.

Usage

unsigned long MatchPos(const char *pattern, unsigned long bufsize, unsigned long offset, unsigned long nth) const throw(OException)

Arguments

Arguments | Description
--- | ---
pattern | A string for Clob or byte array for Blob or Bfile that is searched for in the LOB.
bufsize | Size of user-allocated buffer.
offset | The starting position in the LOB or BFILE for the search.
nth | The occurrence number.

Remarks

This call is currently implemented by executing a PL/SQL block that utilizes DBMS_LOB.INSTR()